package ui;



import javax.swing.JFrame;
import javax.swing.JTabbedPane;
import java.awt.BorderLayout;

import javax.swing.JPanel;




public class DkpManager
{
	private JFrame	frmDxpma;



	/**
	 * Create the application.
	 */
	public DkpManager()
	{
		initialize();
		System.out.println("DxpManager init end");
		frmDxpma.setVisible(true);
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize()
	{
		frmDxpma = new JFrame();
		frmDxpma.setTitle("DkpManager");
		frmDxpma.setBounds(100, 100, 800, 600);
		frmDxpma.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		frmDxpma.getContentPane().add(tabbedPane, BorderLayout.CENTER);
		
		//load panels
		JPanel panel_bienvenue = new PanelBienvenue();
		tabbedPane.addTab("Bienvenue", null, panel_bienvenue, null);
		
		JPanel panel_loots = new PanelLoots();
		tabbedPane.addTab("Dkp Loots", null, panel_loots, null);
		
		JPanel panel_tabards = new JPanel();
		tabbedPane.addTab("Dkp Tabards", null, panel_tabards, null);
		
		JPanel panel_about = new PanelAbout();
		tabbedPane.addTab("About", null, panel_about, null);
		
	}

}
